FSPoster\App\Providers\PersianStringDecorator B

Total Complexity 99
Dependencies 0
Dependents 2
Total lines 868
Lines of code 266
Logical lines of code 127
Comment lines 262
Methods 32
Properties 17

Methods 32

Method Rating Maintainability Complexity Lines of code
processNonPersianWord()
C
39 24 70
processSymbolsAndOtherChars()
A
55 11 20
setPointers()
A
52 8 27
processPersianWord()
S
64 8 9
process()
S
60 4 14
isFirstLoop()
S
76 4 3
decorate()
S
62 3 11
processPersianWordFirstChar()
S
67 3 8
processPersianWordMiddleChar()
S
67 3 8
getLastJoint()
S
71 2 6
processPersianWordLastChar()
S
68 2 8
isSpaceOrDot()
S
79 2 3
processNumber()
S
68 2 8
getMiddleJoint()
S
71 2 6
getFirstJoint()
S
71 2 6
getChar()
S
71 2 6
persianizeNumbers()
S
71 2 6
reverseEnclosing()
S
80 1 3
prepend()
S
80 1 3
isPersianSymbols()
S
79 1 3
shouldBeIgnored()
S
79 1 3
isEnglishChar()
S
79 1 3
isNumber()
S
79 1 3
isEnclosingChars()
S
79 1 3
isDetachedChar()
S
79 1 3
isPersianChar()
S
79 1 3
stringLength()
S
80 1 3
setStringIterative()
S
75 1 4
setPrev()
S
81 1 3
setNext()
S
81 1 3
setCurrent()
S
81 1 3
resetPointers()
S
77 1 4